package com.qiqidream.admin.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiqidream.admin.system.model.entity.Role;

import java.util.List;

/**
 * @author QiQiDream
 * @since 2019/11/18 10:53
 */
public interface RoleService extends IService<Role> {

    /**
     * 根据菜单id，获取拥有该权限的所有角色
     * @author QiQiDream
     * @since 2019/11/18 22:19
     * @param menuId 菜单id
     * @return java.util.List<java.lang.Long>
     */
    List<String> getRolesByMenuId(Long menuId);
}
